package com.nanyang.tms.api.dto.request.forecast;

import javax.validation.constraints.NotEmpty;

import org.hibernate.validator.constraints.Length;

import com.nanyang.common.core.domain.ApiRequest;

import lombok.Data;

@Data
public class ForecastSenderAddRequest extends ApiRequest{
	private static final long serialVersionUID = 1L;
	@NotEmpty(message = "发件人姓名不能为空")
	@Length(max = 50, message = "发件人姓名长度需小于50个字符")
	private String senderName;
	@Length(max = 200, message = "发件人公司长度需小于200个字符")
    private String senderCompanyName;
    @NotEmpty(message = "发货人国家编码不能为空")
	@Length(max = 3, message = "发货人国家编码长度需小于3个字符")
    private String senderCountyCode;
    @Length(max = 50, message = "发货人省份长度需小于50个字符")
    private String province;
    @Length(max = 60, message = "发货人城市长度需小于50个字符")
    private String city;
    @Length(max = 512, message = "发货人地址长度需小于512个字符")
    private String address;
    @Length(max = 10, message = "发货人邮编长度需小于10个字符")
    private String zipCode;
    @Length(max = 50, message = "发货人电话长度需小于50个字符")
    private String tel;
    @Length(max = 50, message = "发货人手机长度需小于50个字符")
    private String moblie;
    @Length(max = 50, message = "发货人邮箱长度需小于50个字符")
    private String email;
	@Override
	public void requestCheck() {
		
	}

}
